package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.entity.ExceptionOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author zz
* @description 针对表【t_exception_order(异常订单表)】的数据库操作Mapper
* @createDate 2022-08-29 19:53:45
* @Entity com.zz.parkingsystem.entity.ExceptionOrder
*/
@Repository
@Mapper
public interface ExceptionOrderMapper {
    Integer getNumberOfAbnormal();

    //异常订单数
    int unusualSum();
    //异常订单总金额
    double unusualMoneySum();
    int deleteByPrimaryKey(Long id);

    int insert(ExceptionOrder record);

    int insertSelective(ExceptionOrder record);

    ExceptionOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExceptionOrder record);

    int updateByPrimaryKey(ExceptionOrder record);

}
